<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>订单管理平台</title>
    <link rel="stylesheet" href="/static/css/layui.css" media="all">
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">EMP-PLATFORM</div>
        <!-- 头部区域（可配合layui 已有的水平导航） -->
        <!--        <ul class="layui-nav layui-layout-left">-->
        <!--            <li class="layui-nav-item"><a href="">节假日管理</a></li>-->
        <!--            <li class="layui-nav-item"><a href="">人员订单管理</a></li>-->
        <!--        </ul>-->
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg"
                         class="layui-nav-img">
                    tester
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">set 1</a></dd>
                    <dd><a href="">set 2</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="">Sign out</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item" id="orderManager"><a href="javascript:;"><i class="layui-icon layui-icon-form">&nbsp;订单管理</i></a>
                </li>
                <li class="layui-nav-item" id="holidayManager"><a href="javascript:;"><i class="layui-icon layui-icon-set">&nbsp;节假日管理</i></a>
                </li>
                <li class="layui-nav-item" id="dayCalculate"><a href="javascript:;"><i class="layui-icon layui-icon-time">&nbsp;日期计算</i></a>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div style="padding: 15px;" id="stage">内容主体区域</div>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        底部固定区域
    </div>
    <script src="/static/layui.js"></script>
    <script>
        //JavaScript代码区域
        layui.use('element', function () {
            let jq = layui.jquery
                , element = layui.element;

            jq("#orderManager").click(function () {
                jq("#stage").load("/orderManager")
            });
            jq("#holidayManager").click(function () {
                jq("#stage").load("/holidayManager")
            });
            jq("#dayCalculate").click(function () {
                jq("#stage").load("/dayCalculate")
            });
        });

    </script>
</div>
</body>
</html>